﻿<%@ Page Title="" Language="VB" MasterPageFile="~/Views/Shared/Report.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    User Report
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h1>
        User Report</h1>
    <br />
    <table class="data-table">
        <thead>
            <tr>
                <th>
                    Site
                </th>
                <th>
                    Username
                </th>
                <th>
                    Full Name
                </th>
                <th>
                    Email
                </th>
                <th>
                    Security Roles
                </th>
                <th>
                    Groups
                </th>
            </tr>
        </thead>
        <tbody>
            <% For Each item In ViewData("Users")%>
            <tr>
                <td width="15%">
                    <%: item.Site%>
                </td>
                <td width="10%">
                    <%: item.Username%>
                </td>
                <td width="25%">
                    <%: item.FullName%>
                </td>
                <td width="15%">
                    <%: item.Email%>
                </td>
                <td width="18%">
                    <%: item.SecurityRoles%>
                </td>
                <td width="17%">
                    <%: item.Groups%>
                </td>
            </tr>
            <% Next%>
        </tbody>
    </table>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="FormContent" runat="server">
    <%= Html.Hidden("SiteID", ViewData("SiteID"))%>
    <%= Html.Hidden("GroupID", ViewData("GroupID"))%>
    <%= Html.Hidden("RoleID", ViewData("RoleID"))%>
</asp:Content>
